package com.ruoyi.consumer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 车辆信息对象 c_car
 * 
 * @author YFENTEST
 * @date 2023-12-10
 */
public class CCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id编号 */
    private Integer carId;

    /** 公司id */
    @Excel(name = "公司id")
    private Integer companyId;

    /** 车队长id */
    @Excel(name = "车队长id")
    private Integer carLeaderId;

    /** 车队经理id */
    @Excel(name = "车队经理id")
    private Integer managerId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNum;

    /** 品牌型号 */
    @Excel(name = "品牌型号")
    private String model;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String picture;

    /** 行驶证正面 */
    @Excel(name = "行驶证正面")
    private String Permit;

    /** 行驶证反面 */
    @Excel(name = "行驶证反面")
    private String permitB;

    /** 所有人 */
    @Excel(name = "所有人")
    private String owner;

    /** 车辆识别代码 */
    @Excel(name = "车辆识别代码")
    private String vin;

    /** 住址 */
    @Excel(name = "住址")
    private String addr;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 使用性质 */
    @Excel(name = "使用性质")
    private String useCharacter;

    /** 发动机号码 */
    @Excel(name = "发动机号码")
    private String engineNum;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String officialSeal;

    /** 发证日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发证日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 档案编号 */
    @Excel(name = "档案编号")
    private String fileNumber;

    /** 总质量 */
    @Excel(name = "总质量")
    private String totalQuality;

    /** 准牵引总质量 */
    @Excel(name = "准牵引总质量")
    private String leadQuality;

    /** 核定载质量 */
    @Excel(name = "核定载质量")
    private String loadQuality;

    /** 外廓尺寸 */
    @Excel(name = "外廓尺寸")
    private String overallSize;

    /** 核定载人数 */
    @Excel(name = "核定载人数")
    private String passengersNum;

    /** 整备质量 */
    @Excel(name = "整备质量")
    private String prepareQuality;

    /** 档案编号 */
    @Excel(name = "档案编号")
    private String record;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 轴数 */
    @Excel(name = "轴数")
    private String axleCount;

    /** 核载质量 */
    @Excel(name = "核载质量")
    private String loadCapacity;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 状态，0：正常，1：禁用 */
    @Excel(name = "状态，0：正常，1：禁用")
    private Integer status;

    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }
    public void setCompanyId(Integer companyId) 
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId() 
    {
        return companyId;
    }
    public void setCarLeaderId(Integer carLeaderId) 
    {
        this.carLeaderId = carLeaderId;
    }

    public Integer getCarLeaderId() 
    {
        return carLeaderId;
    }
    public void setManagerId(Integer managerId) 
    {
        this.managerId = managerId;
    }

    public Integer getManagerId() 
    {
        return managerId;
    }
    public void setPlateNum(String plateNum) 
    {
        this.plateNum = plateNum;
    }

    public String getPlateNum() 
    {
        return plateNum;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setPermit(String Permit) 
    {
        this.Permit = Permit;
    }

    public String getPermit() 
    {
        return Permit;
    }
    public void setPermitB(String permitB) 
    {
        this.permitB = permitB;
    }

    public String getPermitB() 
    {
        return permitB;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setVin(String vin) 
    {
        this.vin = vin;
    }

    public String getVin() 
    {
        return vin;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }
    public void setUseCharacter(String useCharacter) 
    {
        this.useCharacter = useCharacter;
    }

    public String getUseCharacter() 
    {
        return useCharacter;
    }
    public void setEngineNum(String engineNum) 
    {
        this.engineNum = engineNum;
    }

    public String getEngineNum() 
    {
        return engineNum;
    }
    public void setOfficialSeal(String officialSeal) 
    {
        this.officialSeal = officialSeal;
    }

    public String getOfficialSeal() 
    {
        return officialSeal;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setRegisterDate(Date registerDate) 
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate() 
    {
        return registerDate;
    }
    public void setFileNumber(String fileNumber) 
    {
        this.fileNumber = fileNumber;
    }

    public String getFileNumber() 
    {
        return fileNumber;
    }
    public void setTotalQuality(String totalQuality) 
    {
        this.totalQuality = totalQuality;
    }

    public String getTotalQuality() 
    {
        return totalQuality;
    }
    public void setLeadQuality(String leadQuality) 
    {
        this.leadQuality = leadQuality;
    }

    public String getLeadQuality() 
    {
        return leadQuality;
    }
    public void setLoadQuality(String loadQuality) 
    {
        this.loadQuality = loadQuality;
    }

    public String getLoadQuality() 
    {
        return loadQuality;
    }
    public void setOverallSize(String overallSize) 
    {
        this.overallSize = overallSize;
    }

    public String getOverallSize() 
    {
        return overallSize;
    }
    public void setPassengersNum(String passengersNum) 
    {
        this.passengersNum = passengersNum;
    }

    public String getPassengersNum() 
    {
        return passengersNum;
    }
    public void setPrepareQuality(String prepareQuality) 
    {
        this.prepareQuality = prepareQuality;
    }

    public String getPrepareQuality() 
    {
        return prepareQuality;
    }
    public void setRecord(String record) 
    {
        this.record = record;
    }

    public String getRecord() 
    {
        return record;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAxleCount(String axleCount) 
    {
        this.axleCount = axleCount;
    }

    public String getAxleCount() 
    {
        return axleCount;
    }
    public void setLoadCapacity(String loadCapacity) 
    {
        this.loadCapacity = loadCapacity;
    }

    public String getLoadCapacity() 
    {
        return loadCapacity;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("companyId", getCompanyId())
            .append("carLeaderId", getCarLeaderId())
            .append("managerId", getManagerId())
            .append("plateNum", getPlateNum())
            .append("model", getModel())
            .append("picture", getPicture())
            .append("Permit", getPermit())
            .append("permitB", getPermitB())
            .append("owner", getOwner())
            .append("vin", getVin())
            .append("addr", getAddr())
            .append("vehicleType", getVehicleType())
            .append("useCharacter", getUseCharacter())
            .append("engineNum", getEngineNum())
            .append("officialSeal", getOfficialSeal())
            .append("issueDate", getIssueDate())
            .append("registerDate", getRegisterDate())
            .append("fileNumber", getFileNumber())
            .append("totalQuality", getTotalQuality())
            .append("leadQuality", getLeadQuality())
            .append("loadQuality", getLoadQuality())
            .append("overallSize", getOverallSize())
            .append("passengersNum", getPassengersNum())
            .append("prepareQuality", getPrepareQuality())
            .append("record", getRecord())
            .append("remarks", getRemarks())
            .append("axleCount", getAxleCount())
            .append("loadCapacity", getLoadCapacity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("status", getStatus())
            .toString();
    }
}
